package com.quartet.modules.vehicle.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.quartet.modules.vehicle.dao.TVehicleAlarmInfoDao;
import com.quartet.modules.vehicle.entity.TVehicleAlarmInfo;
import com.quartet.modules.vehicle.service.TVehicleAlarmInfoService;
import org.springframework.stereotype.Service;

/**
 * 车辆告警信息表(TVehicleAlarmInfo)表服务实现类
 *
 * @author makejava
 * @since 2021-05-09 12:32:40
 */
@Service("tVehicleAlarmInfoService")
public class TVehicleAlarmInfoServiceImpl extends ServiceImpl<TVehicleAlarmInfoDao, TVehicleAlarmInfo> implements TVehicleAlarmInfoService {

//    @Autowired
//    private TVehicleAlarmInfoDao tVehicleAlarmInfoDao;
//
//    /**
//     * 功能描述: 查询所有车辆报警数据
//     *
//     * @param tVehicleAlarmInfoRequestDto
//     * @return java.util.List<com.quartet.modules.vehicle.dto.TVehicleAlarmInfoResponseDto>
//     * @author huipanxing huipanxing@chinasofti.com
//     * @date 2021/5/11 17:43
//     */
//    @Override
//    public List<TVehicleAlarmInfoResponseDto> selectVehicleAlarm(TVehicleAlarmInfoRequestDto tVehicleAlarmInfoRequestDto) {
//        List<TVehicleAlarmInfo> tVehicleAlarmInfoList = tVehicleAlarmInfoDao.selectVehicleAlarm(tVehicleAlarmInfoRequestDto);
//        List<TVehicleAlarmInfoResponseDto> tVehicleAlarmInfoResponseDtoList = tVehicleAlarmInfoList.stream().map(tVehicleAlarmInfo -> {
//            TVehicleAlarmInfoResponseDto tVehicleAlarmInfoResponseDto = BeanUtil.copyProperties(tVehicleAlarmInfo, TVehicleAlarmInfoResponseDto.class);
//            return tVehicleAlarmInfoResponseDto;
//        }).collect(Collectors.toList());
//        return tVehicleAlarmInfoResponseDtoList;
//    }
}
